<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'detailsnews.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  
  <body>
  <div id="detailmanager">
<a href="javascript:history.back(-1);"><img src="<%=basePath%>images/goBack.png"/></a>
</div>
  <div style="position: absolute; width: 800px;margin-left: 10px;">
		<table style="border-collapse:separate; border-spacing:10px;">
			<tr>
				<td style="width: 80px;">编号:</td>
				<td>${newsd.id }</td>
			</tr>
			<tr>
				<td>标题:</td>
				<td>${newsd.title }</td>
			</tr>
			<tr>
				<td>时间:</td>
				<td>${newsd.time }</td>
			</tr>
			<tr>
				<td>照片:</td>
				<td>${newsd.pic }</td>
			</tr>
			<tr>
				<td>作者:</td>
				<td>${newsd.author }</td>
			</tr>
			<tr>
				<td>来源:</td>
				<td>${newsd.source }</td>
			</tr>
			<tr>
				<td>责任编辑:</td>
				<td>${newsd.editor }</td>
			</tr>
			<tr>
				<td>内容:</td>
				<td>${newsd.content }</td>
			</tr>
			
		</table>
	</div>
	<div  style="position: absolute;margin-left: 850px;">
	<img alt="" src="pic/temp/${newsd.pic }" style="width: 190px;height: 290px">
	
	</div>
</body>
</html>
